package com.dmxh;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient //nacos
@MapperScan("com.dmxh.mapper")
@EnableFeignClients   //开启RPC远程调用
public class SeckillApp {
    public static void main(String[] args) {
        SpringApplication.run(SeckillApp.class, args);
    }
}
